<?php

namespace app\studentLayer\controller;

use think\App;
use think\Controller;

class TeacherVerify extends Controller{

    public function __construct(App $app = null)
    {
        parent::__construct($app);

        $result = session('Teacher');
        if($result){

            return $result;
        }else{
            return $this->error('登录过期','/studentLayer/Teacher_Login/Teacher_Login');
        }

    }

}